#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
#include <string.h>

int main()
{
    int t = 10;
    while (t--)
    {
        int n;
        char num[10][11];
        scanf("%d", &n);
        getchar();

        int count_start[10] = { 0 };
        int count_end[10] = { 0 };
        for (int i = 0; i < n; i++)
        {
            scanf("%s", num[i]);
            int len = strlen(num[i]);
            switch (num[i][0] - '0')
            {
            case 1:count_start[1]++; break;
            case 2:count_start[2]++; break;
            case 3:count_start[3]++; break;
            case 4:count_start[4]++; break;
            case 5:count_start[5]++; break;
            case 6:count_start[6]++; break;
            case 7:count_start[7]++; break;
            case 8:count_start[8]++; break;
            case 9:count_start[9]++; break;
            }
            switch (num[i][len - 1] - '0')
            {
            case 1:count_end[1]++; break;
            case 2:count_end[2]++; break;
            case 3:count_end[3]++; break;
            case 4:count_end[4]++; break;
            case 5:count_end[5]++; break;
            case 6:count_end[6]++; break;
            case 7:count_end[7]++; break;
            case 8:count_end[8]++; break;
            case 9:count_end[9]++; break;
            }
        }
        int j = 1;
        for (j = 1; j <= 9; j++)
        {
            if (count_start[j] != count_end[j])
            {
                printf("Cannot cyclize.\n");
                break;
            }
        }
        if (j == 10)
            printf("Cyclization!\n");
    }
    return 0;
}